﻿using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Intex.Controls.Stopwatch
{
    public class StopwatchConfig
    {
        public StopwatchType StopwatchType { get; set; }

        public string PortName { get; set; }
        public int BaudRate { get; set; }
        public int DataBits { get; set; }
        public Parity Parity { get; set; }
        public StopBits StopBits { get; set; }
        public Handshake Handshake { get; set; }


        public StopwatchConfig()
        {
            this.StopwatchType = StopwatchType.None;
            this.PortName = "";
            BaudRate = 9600;
            DataBits = 8;
            Parity = Parity.None;
            StopBits = StopBits.One;
            Handshake = Handshake.None;
        }
    }
}
